import request from '@/utils/request';

export default{
    //获取数据
    //七天访问量
    //GET /service_manage/page-view/getPageView
    getData(token){
        return request({
            params:{token:token},
            url:(`/service_manage/page-view/getPageView`),
            method:"get"
        })

    },

    //页面访问总量
    //GET /manage_system/page-view/getPageView
    getData2(token){
        return request({
            params:{token:token},
            url:(`/service_manage/page-view/getPageView`),
            method:"get"
        })
    },

    //双平台用户总量
    //GET /service_manage/user/getTotal
    getUserData(token){
        return request({
            params:{token:token},
            url:(`/service_manage/user/getTotal`),
            method:"get"
        })
    },

    //双平台当日用户注册量
    //GET /service_manage/user/getNewUser
    getUserData2(token){
        return request({
            params:{token:token},
            url:(`/service_manage/user/getNewUser`),
            method:"get"
        })
    }

}